package v1

import (
	"gin-admin/global"
	"gin-admin/router/v1/system"
)

func LoadV1Routers() {
	routerGroup := global.GA_ROUTER.Group("/api/v1")
	system.RegisterCommonRoutes(routerGroup)
	system.RegisterUserRoutes(routerGroup)
	system.RegisterRoleRoutes(routerGroup)
	system.RegisterUserRoleRoutes(routerGroup)
	system.RegisterMenuRoutes(routerGroup)
}
